package com.example.studentportrait.service;

import com.example.studentportrait.domain.entity.JobRecruitment;
import com.example.studentportrait.utils.Pagebean;

public interface JobRecruitmentService {
    int addJobRecruitment(JobRecruitment jobRecruitment);
    int updateJobRecruitment(JobRecruitment jobRecruitment);
    Pagebean getByName(String jobName, int page, int pagesize);
    Pagebean getByRequired(String required, int page, int pagesize);
    Pagebean getByMajor(String jobMajor, int page, int pagesize);
    Pagebean getAll(int page, int pagesize);
}
